package com.ctshk.rpc.order.custom.req.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 验证优惠Req
 */
@Data
@ApiModel(value="验证优惠Req", description="验证优惠Req")
public class CustomOrderVerifyDiscountReq implements Serializable {

    @NotNull(message = "游客ID集合不能为空")
    @ApiModelProperty(value = "游客ID集合",required = true)
    private List<Long> touristIdList;

    @NotNull(message = "订单ID集合不能为空")
    @ApiModelProperty(value = "订单ID",required = true)
    private Long orderId;

    @ApiModelProperty(value = "团期ID")
    private Long scheduleId;

    @NotNull(message = "优惠码集合不能为空")
    @ApiModelProperty(value = "优惠码",required = true)
    private String activityCode;

    @ApiModelProperty(value = "用户Id")
    private Long userId;
}
